﻿#include "zmqClient.h"
#include "msgCallback.h"


int main7(int argc, char *argv[])
{
    std::string url = "tcp://localhost:5556";
    std::string identity = "1";
    std::string message = "基础客户端发送消息";
    int res = simple_client(url, identity, &client_message_call_back,message);
    if(-1 == res){
        cout<<"无法连接服务器"<<endl;
    }else if(0 == res){
         cout<<"发送成功"<<endl;
    }
    return 0;
}
